package edu.smxy.associationmanagement.domain;
/**
* 用于返回活动对象的实体类
* @date  2019/04/18
* @author: : SDH
* @description: 用于返回活动对象的实体类
*/
public class ActivityResult {
	private Integer id;
	private String activityName;
	private String activityLocation;
	private String activityOrganizer;
	private Integer activityAssid;
	private String activityTime;
	private String assname;
	
	/**
	 * 根据Activity构建ActivityResult
	 * @param activity 传入的Activity对象
	 */
	public ActivityResult(final Activity activity) {
		this.activityAssid = activity.getActivityAssid();
		this.activityLocation = activity.getActivityLocation();
		this.activityName = activity.getActivityName();
		this.activityOrganizer = activity.getActivityOrganizer();
		this.id = activity.getId();
	}
	
	/**
	 * 获得id
	 * @return Id
	 */
	public Integer getId() {
		return this.id;
	}
	
	/**
	 * 设置id
	 * @param id Id
	 */
	public void setId(final Integer id) {
		this.id = id;
	}
	
	/**
	 * 获得活动名称
	 * @return ActivityName 活动名称
	 */
	public String getActivityName() {
		return this.activityName;
	}
	
	/**
	 * 设置活动名称
	 * @param activityName 活动名称
	 */
	public void setActivityName(final String activityName) {
		this.activityName = activityName;
	}

	public String getActivityLocation() {
		return this.activityLocation;
	}

	public void setActivityLocation(final String activityLocation) {
		this.activityLocation = activityLocation;
	}

	public String getActivityOrganizer() {
		return this.activityOrganizer;
	}

	public void setActivityOrganizer(final String activityOrganizer) {
		this.activityOrganizer = activityOrganizer;
	}

	public Integer getActivityAssid() {
		return this.activityAssid;
	}

	public void setActivityAssid(final Integer activityAssid) {
		this.activityAssid = activityAssid;
	}

	public String getActivityTime() {
		return this.activityTime;
	}

	public void setActivityTime(final String activityTime) {
		this.activityTime = activityTime;
	}

	public String getAssname() {
		return this.assname;
	}

	public void setAssname(final String assname) {
		this.assname = assname;
	}
}
